EventCntr8
 
 
 Bean EventCntr8
 
Event counter 8-bit

Typical usage of the bean in user's code.

Typical Usage:

Required bean name is "EC81".

(1)
The following example waits for at least 16 events in the event counter:

 MAIN.C

void main(void)
{
  EC81_Reset(); /* reset the event counter */
  
  /* wait for 16 events */
  while( EC81_GetNumEvents()<16 ) ;
  
}

For more about typical usage of the bean code please refer to the page Bean Code Typical Usage.


Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.